package com.wj.onlinemusic;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

public class Test {
    public static void main(String[] args) {
        String password = "123456";
        BCryptPasswordEncoder bCryptPasswordEncoder = new BCryptPasswordEncoder();
        String newpassword =  bCryptPasswordEncoder.encode(password);
        System.out.println(newpassword);
    }
}
